package com.jianganming.template;

//模版类
public abstract class DayOffProcess {
    //请假模版
    public final void dayOffProcess(){
        //1.领取申请表
        this.pickUpForm();
        //2.填写申请信息
        this.writeInfo();
        //3.签名
        this.signUp();
        //4.部门审批
        this.summit();
        //5.行政部备案
        this.filing();
    }

    protected abstract void summit();

    protected abstract void signUp();

    private void pickUpForm(){
        System.out.println("领取申请表");
    }
    private void writeInfo(){
        System.out.println("填写申请信息");
    }
    private void filing(){
        System.out.println("行政部备案");
    }
}
